package com.xing.feign;

import com.xing.Utils.Result;
import com.xing.feign.FallbackFactory.OssFeignClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 16564
 */
@FeignClient(value = "conference-oss-server" ,contextId = "SysOssFeign",fallbackFactory = OssFeignClientFallbackFactory.class)
public interface OssFeign {

    @GetMapping("/oss/oss/getById")
    Result getById(@RequestParam Long id);

}
